<?php $render=$inventory->parttype=='Assembly';?>
<?php Yii::app()->clientScript->registerScript('Inventoryassembly',<<<HERE
   var partno="$inventory->partno";
       var render="{$render}"
        
  
HERE
        ,CClientScript::POS_BEGIN);?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/inventoryassembly.js',  CClientScript::POS_BEGIN);?>

<div id="left-col">
    <?php $this->renderPartial('_side',array(
        'inventory'=>$inventory,
  
    ));?>
</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">

            
            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
             
                <?php $this->renderPartial('/inventory/_view',array('model'=>$inventory));?>
                <?php $this->renderPartial('/inventory/_tab',array('model'=>$inventory));?>
                <br/>
                 
                 
                <div id="inventoryassembly-list"></div>


                
            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
    <?php $this->renderPartial('/copyright'); ?>
</div> <!-- left-col -->